#ifndef JPSLAVE_H
#define JPSLAVE_H

#include "jpsocket.h"
#include "jpdata.h"
#include "jpshowinfo.h"
#include <QMetaMethod>
class JpSlave:public JpSocket,public JpShowInfo
{
    Q_OBJECT
public:
    explicit JpSlave(QObject *parent = 0);
    ~JpSlave();
    JpSlave(SlaveMastMap data);
    void run();   
private:
    SlaveMastMap _slave_info;
protected:
    virtual void readClientLogic();


};

#endif // JPSLAVE_H
